CommonsBooking\Plugin B

Total Complexity 92
Dependencies 30
Dependents 16
Total lines 763
Lines of code 466
Logical lines of code 203
Comment lines 185
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
filterAdminBodyClass()
A
53 10 22
setParentFile()
S
54 7 21
addMenuPages()
S
44 4 50
getTheContent()
S
62 6 11
removeDeprecatedUserRoles()
S
52 5 25
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
savePostActions()
S
62 4 11
UpdateNotice()
S
51 2 36
initRoutes()
S
55 3 20
renderError()
S
57 3 18
updateLocationCoordinates()
S
66 4 8
runTasksAfterUpdate()
S
58 3 15
registerItemTaxonomy()
S
58 2 16
registerLocationTaxonomy()
S
58 2 16
AddImageSizes()
S
60 2 15
setAdvanceBookingDaysDefault()
S
65 3 8
addCPTRoleCaps()
S
70 3 6
init()
S
51 1 25
maybeEnableCB1UserFields()
S
70 2 6
registerAdminOptions()
S
69 2 6
commonsbooking_load_textdomain()
S
64 2 9
registerPostStates()
S
72 2 5
registerCustomPostTypes()
S
68 2 7
admin_init()
S
67 2 8
getRoleCapMapping()
S
62 1 13
saveOptionsActions()
S
79 1 3
getCustomPostTypesLabels()
S
64 1 10
initBookingcodes()
S
74 1 4
getCBManagerCustomPostTypes()
S
66 1 9
registerUserWidget()
S
81 1 3
getCustomPostTypes()
S
64 1 10
activation()
S
72 1 6